QT       += core gui
QT       += core sql
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    BitOperation.cpp \
    BitStream.cpp \
    EMDsteg.cpp \
    XLogger.cpp \
    XMysqlConnect.cpp \
    form_fwjg.cpp \
    form_recover.cpp \
    imagerecover.cpp \
    imageshared.cpp \
    login.cpp \
    LSBSteg.cpp \
    main.cpp \
    mainwindow.cpp \
    mybignum.cpp \
    myecpoint.cpp \
    onewayfunction.cpp \
    printer.cpp \
    steganographyOnImage.cpp

HEADERS += \
    BitOperation.h \
    EMDsteg.h \
    XLogger.h \
    XMysqlConnect.h \
    form_fwjg.h \
    form_recover.h \
    imagerecover.h \
    imageshared.h \
    login.h \
    LSBSteg.h \
    mainwindow.h \
    mybignum.h \
    myecpoint.h \
    onewayfunction.h \
    printer.h \
    steganographyOnImage.h

FORMS += \
    form_fwjg.ui \
    form_recover.ui \
    login.ui \
    mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target


DISTFILES += \
    icon/删除.png

RESOURCES += \
    icon.qrc


LIBS += -L$$PWD/libraries/ -llibcrypto
LIBS += -L$$PWD/libraries/ -llibssl
INCLUDEPATH += $$PWD/inclus/jsoncpp
INCLUDEPATH += $$PWD/inclus/openssl
DEPENDPATH += $$PWD/libraries

LIBS += -L$$PWD/libraries/ -ljsoncpp
LIBS += -L$$PWD/libraries/ -lmysql

INCLUDEPATH += $$PWD/inclus/mysql
